package com.feinno.urcs.group.pd.downstream.entity;

import com.feinno.superpojo.annotation.Entity;
import com.feinno.superpojo.annotation.Field;
import com.feinno.superpojo.annotation.NodeType;
import com.feinno.urcs.group.pd.upstream.entity.BaseSuperPojo;

/**
 * Created by wuzhiguo on 15-6-2.
 */
@Entity(name = "document")
public class XcapDiff_Document extends BaseSuperPojo {

    @Field(id = 1, name = "previous-etag", type = NodeType.ATTR)
    private String previousEtag;

    @Field(id = 2, name = "new-etag", type = NodeType.ATTR)
    private String newEtag;

    @Field(id = 3, name = "sel", type = NodeType.ATTR)
    private String sel;

    @Field(id = 4, name = "add")
    private XcapDiff_Document_Add add;

    @Field(id = 5, name = "replace")
    private XcapDiff_Document_Replace replace;

    @Field(id = 6, name = "remove")
    private XcapDiff_Document_Remove remove;

    public String getPreviousEtag() {
        return previousEtag;
    }

    public void setPreviousEtag(String previousEtag) {
        this.previousEtag = previousEtag;
    }

    public String getNewEtag() {
        return newEtag;
    }

    public void setNewEtag(String newEtag) {
        this.newEtag = newEtag;
    }

    public String getSel() {
        return sel;
    }

    public void setSel(String sel) {
        this.sel = sel;
    }

    public XcapDiff_Document_Add getAdd() {
        return add;
    }

    public void setAdd(XcapDiff_Document_Add add) {
        this.add = add;
    }

    public XcapDiff_Document_Replace getReplace() {
        return replace;
    }

    public void setReplace(XcapDiff_Document_Replace replace) {
        this.replace = replace;
    }

    public XcapDiff_Document_Remove getRemove() {
        return remove;
    }

    public void setRemove(XcapDiff_Document_Remove remove) {
        this.remove = remove;
    }
}

